package com.dragon.modules.yuegou.entity.act;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.modules.yuegou.enums.act.GiftBagMemberProRefSkuType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 发放明细记录表实体类<br>
 * 对应的表为：act_gift_bag_member_pro_ref<br>
 * 
 * @author pbuilder generated
 * @date 2020-08-06 17:31:14
 * @company sgy
 * @version 2.0
 */
@TableName("act_gift_bag_member_pro_ref")
@ApiModel(description = "发放明细记录表")
public class GiftBagMemberProRefEntity {

    /**  */
	protected String id;

    /**  */
	protected String giftBagId;

    /**  */
	protected String giftMemberId;

    /**  */
	protected String orderNo;

    /**  */
	protected String couponId;

    /** [枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON */
	@ApiModelProperty("[枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON")
	protected GiftBagMemberProRefSkuType skuType;

	/**
	 * 构造一个空发放明细记录表实体对象
	 */
	public GiftBagMemberProRefEntity(){
		super();
	}

	/**
	 * 依据其它对象的信息构造一个发放明细记录表实体对象
	 * 
	 * @param other 其它对象
	 */
	public GiftBagMemberProRefEntity(GiftBagMemberProRefEntity other){
		super();
     	this.id = other.id;
     	this.giftBagId = other.giftBagId;
     	this.giftMemberId = other.giftMemberId;
     	this.orderNo = other.orderNo;
     	this.couponId = other.couponId;
     	this.skuType = other.skuType;
	}


	/**
	 * 获取
	 * 
	 * @return id 
	 */
	public String getId() {
		return id;
	}
  	
	/**
	 * 设置
	 * 
	 * @param id 
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 获取
	 * 
	 * @return giftBagId 
	 */
	public String getGiftBagId() {
		return giftBagId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param giftBagId 
	 */
	public void setGiftBagId(String giftBagId) {
		this.giftBagId = giftBagId;
	}

	/**
	 * 获取
	 * 
	 * @return giftMemberId 
	 */
	public String getGiftMemberId() {
		return giftMemberId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param giftMemberId 
	 */
	public void setGiftMemberId(String giftMemberId) {
		this.giftMemberId = giftMemberId;
	}

	/**
	 * 获取
	 * 
	 * @return orderNo 
	 */
	public String getOrderNo() {
		return orderNo;
	}
  	
	/**
	 * 设置
	 * 
	 * @param orderNo 
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	/**
	 * 获取
	 * 
	 * @return couponId 
	 */
	public String getCouponId() {
		return couponId;
	}
  	
	/**
	 * 设置
	 * 
	 * @param couponId 
	 */
	public void setCouponId(String couponId) {
		this.couponId = couponId;
	}

	/**
	 * 获取[枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON
	 * 
	 * @return skuType [枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON
	 */
	public GiftBagMemberProRefSkuType getSkuType() {
		return skuType;
	}
  	
	/**
	 * 设置[枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON
	 * 
	 * @param skuType [枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON
	 */
	public void setSkuType(GiftBagMemberProRefSkuType skuType) {
		this.skuType = skuType;
	}

    public String toString() {
		return new StringBuilder().append("GiftBagMemberProRefEntity{").
			append("id=").append(id).
			append(",giftBagId=").append(giftBagId).
			append(",giftMemberId=").append(giftMemberId).
			append(",orderNo=").append(orderNo).
			append(",couponId=").append(couponId).
			append(",skuType=").append(skuType).
			append('}').toString();
    }

	/**
	 * 复制对象
	 * 
	 * @return 复制后的新实体对象
	 */
	public GiftBagMemberProRefEntity copy() {
		return new GiftBagMemberProRefEntity(this);
	}

    /**  */
	public static final String COL_ID = "id";

    /**  */
	public static final String COL_GIFT_BAG_ID = "gift_bag_id";

    /**  */
	public static final String COL_GIFT_MEMBER_ID = "gift_member_id";

    /**  */
	public static final String COL_ORDER_NO = "order_no";

    /**  */
	public static final String COL_COUPON_ID = "coupon_id";

    /** [枚举]商品类型：0-优质好货-SKU、1-停车券-PARKCOUPON、2-现金券-CASHCOUPON */
	public static final String COL_SKU_TYPE = "sku_type";
}
